import request from "@/utils/request";
export default {
    //登录

    submitLoginUser(userInfo) {
        return request({
            url: `/ucenter/member/login`,
            method: "post",
            data: userInfo
        });
    },

    //根据token获取用户信息

    getLoginUserInfo() {
        return request({
            url: `/ucenter/member/getMemberInfo`,

            method: "get"

            // headers: {'token': cookie.get('guli_token')}
        });

        //headers: {'token': cookie.get('guli_token')}
    }
};